package com.home.security.core.enums;

/**
 * Description: 登录状态
 * Created by 王大宸 on 2020-11-10 23:21
 * Created with IntelliJ IDEA.
 */
public enum LoginTypeEnum {

    // 密码登录
    PASSWORD("password"),
    // 免密登录
    NO_PASSWORD("nopassword");

    // 状态值
    private final String code;

    private LoginTypeEnum(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

}
